How can I import checks into integrated monitoring?

 

You can import a CSV file in order to insert checks into monitoring.

 

Structure the CSV file as follows:

 

Name Arguments Check name Group_ID
check_http a:1:{s:3:"url";s:24:"http://www.brevis.one";} CheckHTTP 1
check_http_auth a:3:{s:3:"url";s:31:"http://www.brevis.one/secure";s:4:"user";s:13:"Administrator";s:8:"password";s:6:"secret";} CheckHTTPAuth 1
check_ping a:3:{s:4:"host";s:17:"www.brevis.one";s:5:"count";s:1:"4";s:7:"timeout";s:2:"10";} Ping 1
check_port a:3:{s:4:"host";s:17:"www.brevis.one";s:4:"port";s:2:"80";s:7:"timeout";s:2:"10";} CheckPort 1

 

 

Name

Name of the check

The name of the check can be randomly selected.

 

Arguments

Arguments required by the check

Each check requires different arguments, e.g.: host, port, timeout, number of pings, website to be monitored, user name, password.

 

Checkname

Check which is to be performed

 

Group_ID

ID of the user group which is to be alerted if the check fails

 

 

The column headings must be taken into the CSV file.

 

If integrated monitoring notices a failure, the members of the set group are alerted by text message. The monitoring group with the ID 1 is intended by way of standard. If you license the Recipient groups module, you have the possibility to notify further groups.

 

 

Related articles